package com.drive.mapper;

import com.drive.bean.Student;
import com.github.pagehelper.Page;

import java.util.List;

/**
 * @author 往
 * 持久层dao接口
 */
public interface StudentMapper {
    public void add(Student student);

    Page<Student> selectByCondition(String queryString);

    void delete(Integer id);

    Student findById(Integer id);

    void edit(Student student);

    List<Student> findAll();
}
